python sort a string alphabetically